<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script type="text/javascript" src="js/validate.js"></script>
<title>Insert title here</title>
</head>
<body>
	<center>
		<fieldset
			style="position: inherit; width: 350px; height: 350px; margin-bottom: 6px; border: 1px solid #000000;">
			<legend align="top">Registration:</legend>

			<s:form method="post" name="regform">
				<table id="register">
					<tr>
						<td><s:textfield name="username" key="User Name" size="20"
								onkeyup="javascript:checkname()" id="uname" /></td>
						<td><s:label id="m_uname"></s:label></td>
					</tr>
					<tr>
						<td><s:textfield name="usermail" key="E-Mail Id" size="20"
								id="email" onkeyup="javascript:checkemail()" /></td>
						<td><s:label id="m_email"></s:label></td>
					</tr>
					<tr>
						<td><s:password name="password" key="Password" size="20"
								id="passw" onkeyup="javascript:checkpassw()" /></td>
						<td><s:label id="m_passw"></s:label></td>
					</tr>
					<tr>
						<td><s:password name="repassword" key="Re-Type Password"
								size="20" id="passw2" onkeyup="javascript:comparepassw()" /></td>
						<td><s:label id="m_passw2"></s:label></td>
					</tr>
					<tr>
						<td><s:textfield name="mobilenumber" key="Mobile Number"
								size="20" id="phno" onkeyup="javascript:checkphno()" /></td>
						<td><s:label id="m_phno"></s:label></td>
					</tr>
					<tr>
						<td colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <s:submit
								value="Register" theme="simple" />
							&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
							<s:reset value="Reset" theme="simple" />
						</td>
					</tr>
				</table>
			</s:form>
		</fieldset>

	</center>
</body>
</html>